package com.yserp.project.erp.bill.receivemoney.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yserp.framework.aspectj.lang.annotation.Excel;
import com.yserp.framework.web.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 收款单对象 erp_receive_money_item
 *
 * @author yserp
 * @date 2022-08-11
 */
@TableName("erp_receive_money_item")
@Data
public class ReceiveMoneyItem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 主表ID
     */
    @Excel(name = "主表ID")
    private Long mainId;

    /**
     * 销售单主键ID
     */
    @Excel(name = "销售单主键ID")
    private Long saleId;

    /**
     * 销售单号
     */
    @Excel(name = "销售单号")
    private String saleCode;

    /**
     * 应收金额
     */
    @Excel(name = "应收金额")
    private BigDecimal noReceiveAmount;

    /**
     * 收款金额
     */
    @Excel(name = "收款金额")
    private BigDecimal receiveAmount;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableLogic
    private String delFlag;


}
